﻿<UserControl x:Class="StudentModule.Views.SinhVienDetailView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
             xmlns:prism="http://www.codeplex.com/prism"
             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
             xmlns:inf_int="clr-namespace:Infrastructure.InteractionRequests;assembly=Infrastructure"
             xmlns:helper="clr-namespace:Infrastructure.Helpers;assembly=Infrastructure"
             xmlns:local="clr-namespace:StudentModule.Views"
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="800" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             x:Name="root">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Infrastructure;component/Themes/CommonTemplates.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <helper:SuccessConverter x:Key="SuccessConverter" />
        </ResourceDictionary>
    </UserControl.Resources>

    <i:Interaction.Triggers>

        <prism:InteractionRequestTrigger SourceObject="{Binding ViewHoSoDaNopRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:HoSoDaNopView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewKhenThuongRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddKhenThuongView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewKyLuatRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddKyLuatView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewHocBongRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddHocBongView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewHoatDongDoanTheRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddHoatDongDoanTheView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewNghienCuuKhoaHocRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddNghienCuuKhoaHocView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewThamGiaOlympicRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddThamGiaOlympicView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewThayDoiRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddThayDoiTrongQuaTrinhHocTapView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewVanBangRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddVanBangView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>

        <prism:InteractionRequestTrigger SourceObject="{Binding AddNewCauLacBoRequest, Mode=OneWay}">
            <inf_int:PopupWindowAction CenterOverAssociatedObject="True">
                <inf_int:PopupWindowAction.WindowContent>
                    <local:AddCauLacBoView />
                </inf_int:PopupWindowAction.WindowContent>
            </inf_int:PopupWindowAction>
        </prism:InteractionRequestTrigger>
    </i:Interaction.Triggers>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <StackPanel Grid.ColumnSpan="5">
            <TextBlock Margin="40,10,0,0" Text="Thông tin sinh viên" Grid.ColumnSpan="2"
                       FontWeight="Bold" Foreground="#FF7A7A7A" HorizontalAlignment="Left"  FontFamily="Segoe UI" FontSize="16" />
            <Rectangle Fill="#FFD6D6D6" Height="1" Margin="0,10 0,15" />
        </StackPanel>

        <Grid Grid.Row="1" DataContext="{Binding SinhVien, Mode=TwoWay}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="2*" />
                <ColumnDefinition Width="7.5*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>

            <Grid VerticalAlignment="Top" Grid.RowSpan="2">
                <!--<Rectangle Stroke="#FFDADADA"  Fill="#CCF3F3F3" Height="210" Width="140" />-->
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Image Height="200" Width="130" Margin="10" Source="{Binding HinhAnh, Mode=OneTime}"/>

                <StackPanel Grid.Row="1" Margin="10">
                    <StackPanel  Orientation="Horizontal" Margin="5">
                        <TextBlock Text="Tên: " Style="{StaticResource TextBlockStyle}" />
                        <TextBlock Style="{StaticResource TextBlockStyle}">
                        <TextBlock.Text>
                            <MultiBinding StringFormat="{}{0} {1}">
                                <Binding Path="HoSinhVien" />
                                <Binding Path="TenSinhVien" />
                            </MultiBinding>
                        </TextBlock.Text>
                        </TextBlock>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Margin="5">
                        <TextBlock Text="MSSV: " Style="{StaticResource TextBlockStyle}" />
                        <TextBlock Text="{Binding MaSinhVien}"  Style="{StaticResource TextBlockStyle}"/>
                    </StackPanel>
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Text="Tình trạng nộp hồ sơ:" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Center" Margin="0,3,0,0" />
                        <TextBlock Text="{Binding DataContext.NopStatus,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Center" Margin="0,3,0,0"/>
                        <telerik:RadButton Content="Chi tiết" Name="radButtonHoSo" Width="60" HorizontalAlignment="Center" Margin="5" Command="{Binding DataContext.HoSoDaNopCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"/>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Center">
                        <telerik:RadButton Content="Lưu lại" HorizontalAlignment="Right" Name="radButton1" Width="60" Command="{Binding DataContext.SaveCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" />
                        <telerik:RadButton Content="Hủy bỏ" HorizontalAlignment="Right" Name="radButton2" Width="60" Command="{Binding DataContext.GoBackCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" />
                    </StackPanel>
                </StackPanel>
            </Grid>

            <Grid Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="4" Margin="10">
                <StackPanel >
                    <telerik:RadTabControl Height="570">
                        <telerik:RadTabItem DropDownContent="Lylichcanhan" Header="Lý lịch cá nhân">
                            <telerik:RadTabControl >
                                <telerik:RadTabItem DropDownContent="Thongtincanhan" Header="Thông tin cá nhân">
                                    <telerik:RadTabItem.Content>
                                        <ScrollViewer>
                                            <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                <StackPanel Orientation="Horizontal" Margin="2">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Tên:" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Họ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Khoa:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Dân tộc:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Số CMND:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngày cấp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngày vào đoàn:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi vào đảng:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngày vào đảng" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="(dự bị):" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Chính sách:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Kết quả khám:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ghi chú sức khỏe:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ghi chú:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBox Text="{Binding TenSinhVien,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBox Text="{Binding HoSinhVien,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBox Text="{Binding NoiSinh,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox1" Margin="2" Width="220"
                                                                             ItemsSource="{Binding DataContext.DonViList,ElementName=root}"
                                                                             SelectedValue="{Binding Path=DonViID, Mode=TwoWay}" 
                                                                             SelectedItem="{Binding DataContext.CurrentDonVi,ElementName=root, Mode=TwoWay}" 
                                                                             SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox2" Margin="2" Width="220"
                                                                             ItemsSource="{Binding DataContext.DanTocList, TargetNullValue='Chưa xác định',ElementName=root}"
                                                                             SelectedValue="{Binding Path=DanTocID, Mode=TwoWay}" 
                                                                             SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <TextBox Text="{Binding CMND.SoCMND,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <telerik:RadDatePicker SelectedDate="{Binding CMND.NgayCap,Mode=TwoWay}" Margin="2" />
                                                        <TextBox Text="{Binding SinhHoatDoan.NgayVaoDoan,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBox Text="{Binding SinhHoatDang.NoiVaoDang,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadDatePicker SelectedDate="{Binding SinhHoatDang.NgayVaoDangDuBi,Mode=TwoWay}" Margin="2" />
                                                        <telerik:RadComboBox Name="radComboBox3" Margin="2" Width="220"
                                                                             ItemsSource="{Binding DataContext.ChinhSachList, TargetNullValue='Không có',ElementName=root}"
                                                                             SelectedValue="{Binding Path=ChinhSachID, Mode=TwoWay}" 
                                                                             SelectedValuePath="ID" DisplayMemberPath="TenChinhSach" />
                                                        <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                            <telerik:RadRadioButton Width="60" Margin="0 0 15 0"
                                                                                    IsChecked="{Binding Path=ThongTinKhac.DuSucKhoe, Mode=TwoWay, Converter={StaticResource SuccessConverter}, ConverterParameter=true}"
                                                                                    HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Đủ" />
                                                            <telerik:RadRadioButton Width="60" IsChecked="{Binding Path=ThongTinKhac.DuSucKhoe, Mode=TwoWay, Converter={StaticResource SuccessConverter}, ConverterParameter=false}"
                                                                                    HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Không đủ" />
                                                        </StackPanel>
                                                        <TextBox Text="{Binding ThongTinKhac.GhiChuSucKhoe,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBox Text="{Binding ThongTinKhac.GhiChu,Mode=TwoWay}" Width="220" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="2">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Ngày sinh:" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Giới tính:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Lớp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tôn giáo:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi cấp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi vào đoàn:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngày vào đảng" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="(chính thức):" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBox Text="{Binding NgaySinh,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                            <telerik:RadRadioButton Width="60" Margin="0 0 15 0"
                                                                                    IsChecked="{Binding Path=GioiTinh, Mode=TwoWay, Converter={StaticResource SuccessConverter}, ConverterParameter=true}"
                                                                                    HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Nam" />
                                                            <telerik:RadRadioButton Width="60" IsChecked="{Binding Path=GioiTinh, Mode=TwoWay, Converter={StaticResource SuccessConverter}, ConverterParameter=false}"
                                                                                    HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Nữ" />
                                                        </StackPanel>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadComboBox Name="radComboBox4" Margin="2"
                                                                             ItemsSource="{Binding DataContext.LopList,ElementName=root}"
                                                                             SelectedValue="{Binding Path=LopID, Mode=TwoWay}" SelectedValuePath="ID"
                                                                             DisplayMemberPath="TenGoi" />
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox5" Margin="2"
                                                                             ItemsSource="{Binding DataContext.TonGiaoList, TargetNullValue='Chưa xác định',ElementName=root}"
                                                                             SelectedValue="{Binding Path=TonGiaoID, Mode=TwoWay}" 
                                                                             SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <TextBox Text="{Binding CMND.NoiCap,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding SinhHoatDoan.NoiVaoDoan,Mode=TwoWay}" Width="220" Margin="2"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadDatePicker SelectedDate="{Binding SinhHoatDang.NgayVaoDangChinhThuc,Mode=TwoWay}" Margin="2" />
                                                    </StackPanel>
                                                </StackPanel>
                                            </StackPanel>
                                        </ScrollViewer>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="Quanhegiadinh" Header="Quan hệ gia đình">
                                    <telerik:RadTabItem.Content>
                                        <ScrollViewer>
                                            <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                <StackPanel Orientation="Horizontal" Margin="2" >
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Người cha" FontSize="15" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Họ tên:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Năm sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Quốc tịch:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Dân tộc:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tôn giáo:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Hộ khẩu thường trú:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nghề nghiệp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi làm việc:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Điện thoại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Email:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontSize="15" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.HoTen,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.NamSinh,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.QuocTich,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox6" Margin="2"
                                                                         ItemsSource="{Binding DataContext.DanTocList, ElementName=root}"
                                                                         SelectedValue="{Binding Path=QuanHeGiaDinh.NguoiCha.DanTocID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox7" Margin="2"
                                                                         ItemsSource="{Binding DataContext.TonGiaoList,ElementName=root}"
                                                                         SelectedValue="{Binding Path=QuanHeGiaDinh.NguoiCha.TonGiaoID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.HoKhauThuongTru,Mode=TwoWay}" Width="210" TextWrapping="Wrap" Height="50" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.NgheNghiep,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.NoiLamViec,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.DienThoai,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiCha.Email,Mode=TwoWay}" Width="210" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="2" >
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Người mẹ" FontSize="15" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Họ tên:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Năm sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Quốc tịch:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Dân tộc:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tôn giáo:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Hộ khẩu thường trú:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nghề nghiệp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Nơi làm việc:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Điện thoại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Email:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontSize="15" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.HoTen,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.NamSinh,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.QuocTich,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox8" Margin="2"
                                                                         ItemsSource="{Binding DataContext.DanTocList,ElementName=root}"
                                                                         SelectedValue="{Binding Path=QuanHeGiaDinh.NguoiMe.DanTocID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Name="radComboBox9" Margin="2"
                                                                         ItemsSource="{Binding DataContext.TonGiaoList,ElementName=root}"
                                                                         SelectedValue="{Binding Path=QuanHeGiaDinh.NguoiMe.TonGiaoID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID" DisplayMemberPath="TenGoi" />
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.HoKhauThuongTru,Mode=TwoWay}" Width="210" TextWrapping="Wrap" Height="50" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.NgheNghiep,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.NoiLamViec,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.DienThoai,Mode=TwoWay}" Width="210" Margin="2"/>
                                                        <TextBox Text="{Binding QuanHeGiaDinh.NguoiMe.Email,Mode=TwoWay}" Width="210" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>
                                            </StackPanel>
                                        </ScrollViewer>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="Thongtinlienlac" Header="Thông tin liên lạc">
                                    <telerik:RadTabItem.Content>
                                        <ScrollViewer>
                                            <StackPanel Margin="5">
                                                <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Center" >
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontSize="12" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tỉnh thành:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Quận:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa chỉ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Phường xã:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Số điện thoại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Hộ khẩu thường trú" FontSize="12" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadComboBox Name="radComboBox11" Margin="2" Height="22"
                                                                         ItemsSource="{Binding DataContext.DVHCCap1List,ElementName=root}"
                                                                         SelectedValue="{Binding Path=LienLac.DiaChiThuongTru.TinhThanhID, Mode=TwoWay}" 
                                                                         SelectedItem="{Binding DataContext.ThuongTru,ElementName=root, Mode=TwoWay}"
                                                                         SelectedValuePath="ID"
                                                                         DisplayMemberPath="Ten" />
                                                        <telerik:RadComboBox Name="radComboBox12" Margin="2" Height="22"
                                                                         ItemsSource="{Binding DataContext.DVHCCap2ThuongTruList,ElementName=root}"
                                                                         SelectedValue="{Binding Path=LienLac.DiaChiThuongTru.QuanHuyenID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID"
                                                                         DisplayMemberPath="Ten" />
                                                        <TextBox Text="{Binding LienLac.DiaChiThuongTru.SoNha,Mode=TwoWay}" Width="270" Margin="2"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiThuongTru.PhuongXaThiTran,Mode=TwoWay}" Width="270" Margin="2"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiThuongTru.SoDienThoai,Mode=TwoWay}" Width="270" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Center" >
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontSize="12" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tỉnh thành:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Quận:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa chỉ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Phường xã:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Số điện thoại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Hộ khẩu tạm trú" FontSize="12" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadComboBox Name="radComboBox13" Margin="2" Height="22"
                                                                         ItemsSource="{Binding DataContext.DVHCCap1List,ElementName=root}"
                                                                         SelectedValue="{Binding Path=LienLac.DiaChiTamTru.TinhThanhID, Mode=TwoWay}" 
                                                                         SelectedItem="{Binding DataContext.TamTru,ElementName=root, Mode=TwoWay}"
                                                                         SelectedValuePath="ID"
                                                                         DisplayMemberPath="Ten" />
                                                        <telerik:RadComboBox Name="radComboBox14" Margin="2" Height="22"
                                                                         ItemsSource="{Binding DataContext.DVHCCap2TamTruList,ElementName=root}"
                                                                         SelectedValue="{Binding Path=LienLac.DiaChiTamTru.QuanHuyenID, Mode=TwoWay}" 
                                                                         SelectedValuePath="ID"
                                                                         DisplayMemberPath="Ten" />
                                                        <TextBox Text="{Binding LienLac.DiaChiTamTru.SoNha,Mode=TwoWay}" Width="270" Margin="2"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiTamTru.PhuongXaThiTran,Mode=TwoWay}" Width="270" Margin="2"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiTamTru.SoDienThoai,Mode=TwoWay}" Width="270" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>

                                                <StackPanel Orientation="Horizontal" Margin="3" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontSize="12" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" FontSize="9" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa chỉ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="" FontSize="2" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Số điện thoại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Email cá nhân:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Email trường cấp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Địa chỉ liên lạc" FontSize="12" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiLienLac.DiaChi,Mode=TwoWay}" TextWrapping="Wrap" Width="260" Height="50" Margin="2"/>
                                                        <TextBox Text="{Binding LienLac.DiaChiLienLac.SoDienThoai,Mode=TwoWay}" Width="260" Margin="2"/>
                                                        <TextBox Text="{Binding EmailCaNhan,Mode=TwoWay}" Width="260" Margin="2"/>
                                                        <TextBox Text="{Binding EmailVanLang,Mode=TwoWay}" Width="260" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>

                                            </StackPanel>
                                        </ScrollViewer>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="KhenThuong" Header="Khen thưởng" Width="90">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveKhenThuongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewKhenThuongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                                                       Command="{Binding DataContext.DeleteKhenThuongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView1" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachKhenThuong, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentKhenThuong,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên gọi" />
                                                        <telerik:GridViewDataColumn Header="Ngày nhận" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>

                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="KyLuat" Header="Kỷ luật" Width="75">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveKyLuatCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewKyLuatCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                                                       Command="{Binding DataContext.DeleteKyLuatCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView2" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachKyLuat, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentKyLuat,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên gọi" />
                                                        <telerik:GridViewDataColumn Header="Ngày nhận" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="HocBong" Header="Học bổng">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveHocBongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewHocBongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                                                       Command="{Binding DataContext.DeleteHocBongCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView3" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachHocBong, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentHocBong,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên gọi" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Ngày nhận" DataMemberBinding="{Binding NgayNhan}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>
                            </telerik:RadTabControl>
                        </telerik:RadTabItem>

                        <telerik:RadTabItem DropDownContent="Quatrinhhoctap" Header="Quá trình học tập">
                            <telerik:RadTabControl>
                                <telerik:RadTabItem DropDownContent="Diemhocphothong" Header="Điểm học phổ thông">
                                    <telerik:RadTabItem.Content>
                                        <ScrollViewer>
                                            <StackPanel Margin="5">

                                                <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Thông tin tốt nghiệp" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Xếp loại tốt nghiệp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Số hiệu bằng tốt nghiệp:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngày cấp bằng:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Tốt nghiệp trường:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <telerik:RadComboBox Margin="2"
                                                                         ItemsSource="{Binding DataContext.XepLoaiTotNghiepList,ElementName=root}"
                                                                         SelectedItem="{Binding QuaTrinhHocPhoThong.TotNghiepPhoThong.XepLoaiTotNghiep,Mode=TwoWay}"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.TotNghiepPhoThong.SoHieuBang,Mode=TwoWay}" Width="200" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.TotNghiepPhoThong.NgayCapBang,Mode=TwoWay}" Width="200" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.TotNghiepPhoThong.TotNghiepTruong,Mode=TwoWay}" Width="200" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Thông tin khác" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Khen thưởng:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Kỷ luật:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ghi chú:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.KhenThuong,Mode=TwoWay}" Width="250" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.KyLuat,Mode=TwoWay}" Width="250" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.GhiChu,Mode=TwoWay}" Width="250" Margin="2"/>
                                                    </StackPanel>
                                                </StackPanel>


                                                <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Lớp 10" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Toán:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Văn:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngoại ngữ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Hóa:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sử:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Điểm trung bình:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Xếp loại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemToan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemVan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemNgoaiNgu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemHoa,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemSu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemSinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemDiaLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop10.DiemTrungBinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Margin="2" Width="150"
                                                                         ItemsSource="{Binding DataContext.XepLoaiHocLucList,ElementName=root}"
                                                                         SelectedItem="{Binding QuaTrinhHocPhoThong.Lop10.XepLoaiHocLuc,Mode=TwoWay}"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Lớp 11" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Toán:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Văn:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngoại ngữ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Hóa:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sử:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Điểm trung bình:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Xếp loại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemToan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemVan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemNgoaiNgu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemHoa,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemSu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemSinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemDiaLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop11.DiemTrungBinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Margin="2" Width="150"
                                                                         ItemsSource="{Binding DataContext.XepLoaiHocLucList,ElementName=root}"
                                                                         SelectedItem="{Binding QuaTrinhHocPhoThong.Lop11.XepLoaiHocLuc,Mode=TwoWay}"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="Lớp 12" FontWeight="Bold" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Toán:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Văn:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Ngoại ngữ:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Hóa:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sử:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Sinh:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Địa lý:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Điểm trung bình:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBlock Text="Xếp loại:" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    </StackPanel>
                                                    <StackPanel Margin="10">
                                                        <TextBlock Text="" FontWeight="Bold" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemToan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemVan,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemNgoaiNgu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemHoa,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemSu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemSinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemDiaLy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <TextBox Text="{Binding QuaTrinhHocPhoThong.Lop12.DiemTrungBinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                        <telerik:RadComboBox Grid.Column="1" Grid.Row="5" Margin="2" Width="150"
                                                                         ItemsSource="{Binding DataContext.XepLoaiHocLucList,ElementName=root}"
                                                                         SelectedItem="{Binding QuaTrinhHocPhoThong.Lop12.XepLoaiHocLuc,Mode=TwoWay}"/>
                                                    </StackPanel>
                                                </StackPanel>

                                            </StackPanel>
                                        </ScrollViewer>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>
                                <telerik:RadTabItem DropDownContent="Ketquatuyensinh" Header="Kết quả tuyển sinh">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                            <StackPanel Margin="10">
                                                <TextBlock Text="Số báo danh" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Đối tượng tuyển sinh" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Khu vực tuyển sinh" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Trường đăng kí dự thi" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Khối thi" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Điểm môn 1" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Điểm môn 2" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                <TextBlock Text="Điểm môn 3" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <TextBox Text="{Binding KetQuaTuyenSinh.SoBaoDanh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.DoiTuongTuyenSinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.KhuVucTuyenSinh,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.TruongDangKy,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.KhoiThi,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.Mon1,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.Mon2,Mode=TwoWay}" Width="150" Margin="2"/>
                                                <TextBox Text="{Binding KetQuaTuyenSinh.Mon3,Mode=TwoWay}" Width="150" Margin="2"/>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>
                                <telerik:RadTabItem DropDownContent="Thaydoitrongquatrinhhoctap" Header="Thay Đổi Trong Quá Trình Học Tập">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="2" >
                                            <StackPanel Margin="10" HorizontalAlignment="Center" Orientation="Horizontal">
                                                <TextBlock Text="Trạng thái học tập: " Margin="0,7,0,0"/>
                                                <telerik:RadComboBox Name="radComboBox10" Margin="2" Width="170" 
                                                                         ItemsSource="{Binding DataContext.LoaiThayDoiList, ElementName=root}"
                                                                         SelectedValue="{Binding Path=ThongTinKhac.TrangThaiHocTap, Mode=TwoWay}" 
                                                                         SelectedValuePath="TenGoi" DisplayMemberPath="TenGoi" />
                                            </StackPanel>
                                            <StackPanel Grid.Row="1" HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.SaveThayDoiCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.AddNewThayDoiCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.DeleteThayDoiCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>

                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView4" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="325"
                                                     ItemsSource="{Binding DanhSachThayDoi, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentThayDoiTrongQuaTrinhHoc,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên gọi" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                        <telerik:GridViewDataColumn Header="Ngày nhận" DataMemberBinding="{Binding NgayNhan, StringFormat={}{0:dd/MM/yyyy}}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>
                                <telerik:RadTabItem DropDownContent="VanBang" Header="Chứng chỉ">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="2" >
                                            <StackPanel Grid.Row="1" HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.SaveVanBangCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.AddNewVanBangCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.DeleteVanBangCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView5" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" Height="365"
                                                             ShowInsertRow="false" ItemsSource="{Binding DanhSachVanBang, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentVanBangDuocNhan,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên gọi" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                        <telerik:GridViewDataColumn Header="Ngày nhận" DataMemberBinding="{Binding NgayNhan, StringFormat={}{0:dd/MM/yyyy}}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>
                                <telerik:RadTabItem DropDownContent="Bangdiem" Header="Bảng điểm">
                                </telerik:RadTabItem>
                            </telerik:RadTabControl>
                        </telerik:RadTabItem>

                        <telerik:RadTabItem DropDownContent="Hoatdong" Header="Hoạt động">
                            <telerik:RadTabControl>
                                <telerik:RadTabItem DropDownContent="Hoatdongdoanthexahoi" Header="Hoạt động đoàn thể-xã hội">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="2">
                                            <StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
                                                <StackPanel Margin="2">
                                                    <TextBlock Text="Chức vụ cao nhất ở THPT" Margin="0,7,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    <TextBlock Text="Chức vụ cao nhất ở Văn Lang" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    <TextBlock Text="Năng khiếu" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                    <TextBlock Text="Nguyện vọng" Margin="0,10,0,0" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Left"/>
                                                </StackPanel>
                                                <StackPanel Margin="2">
                                                    <TextBox Text="{Binding SinhHoatDoan.ChucVuDoanCaoNhat,Mode=TwoWay}" Width="150" Margin="2"/>
                                                    <TextBox Text="{Binding SinhHoatDoan.ChucVuDoanVanLang,Mode=TwoWay}" Width="150" Margin="2"/>
                                                    <TextBox Text="{Binding SinhHoatDoan.NangKhieu,Mode=TwoWay}" Width="150" Margin="2"/>
                                                    <TextBox Text="{Binding SinhHoatDoan.NguyenVong,Mode=TwoWay}" Width="150" Margin="2"/>
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="2" Background="WhiteSmoke">
                                                <StackPanel HorizontalAlignment="Center" Margin="10">
                                                    <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                        <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.SaveHoatDongDoanTheCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                            <telerik:RadButton.Content>
                                                                <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                            </telerik:RadButton.Content>
                                                        </telerik:RadButton>
                                                        <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                    </StackPanel>
                                                    <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                        <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.AddNewHoatDongDoanTheCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                            <telerik:RadButton.Content>
                                                                <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                            </telerik:RadButton.Content>
                                                        </telerik:RadButton>
                                                        <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                    </StackPanel>
                                                    <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                        <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                               Command="{Binding DataContext.DeleteHoatDongDoanTheCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                            <telerik:RadButton.Content>
                                                                <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                            </telerik:RadButton.Content>
                                                        </telerik:RadButton>
                                                        <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                    </StackPanel>
                                                </StackPanel>
                                                <StackPanel Margin="10">
                                                    <telerik:RadGridView Name="radGridView6" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" Height="260"
                                                             ShowInsertRow="false" ItemsSource="{Binding DanhSachHoatDongDoanThe, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentHoatDongDoanTheThamGia,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadGridView.Columns>
                                                            <telerik:GridViewDataColumn Header="Tên gọi" DataMemberBinding="{Binding TenGoi}" />
                                                            <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                        </telerik:RadGridView.Columns>
                                                    </telerik:RadGridView>
                                                </StackPanel>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="Nghiencuukhoahoc" Header="Nghiên cứu khoa học">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveNghienCuuKhoaHocCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewNghienCuuKhoaHocCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                   Command="{Binding DataContext.DeleteNghienCuuKhoaHocCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView7" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachNghienCuuKhoaHoc, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentNghienCuuKhoaHoc,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                        <telerik:GridViewDataColumn Header="Ngày tham gia" DataMemberBinding="{Binding NgayThamGia}" />
                                                        <telerik:GridViewDataColumn Header="Cấp" DataMemberBinding="{Binding Cap}" />
                                                        <telerik:GridViewDataColumn Header="Thành tích" DataMemberBinding="{Binding ThanhTich}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="Thamgiaolympic" Header="Tham gia Olympic">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveThamGiaOlympicCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewThamGiaOlympicCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                   Command="{Binding DataContext.DeleteThamGiaOlympicCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView8" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachThamGiaOlympic, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentThamGiaOlympic,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                        <telerik:GridViewDataColumn Header="Ngày tham gia" DataMemberBinding="{Binding NgayThamGia}" />
                                                        <telerik:GridViewDataColumn Header="Cấp" DataMemberBinding="{Binding Cap}" />
                                                        <telerik:GridViewDataColumn Header="Thành tích" DataMemberBinding="{Binding ThanhTich}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                                <telerik:RadTabItem DropDownContent="Caulacbo" Header="Câu lạc bộ">
                                    <telerik:RadTabItem.Content>
                                        <StackPanel Margin="10">
                                            <StackPanel HorizontalAlignment="Center" Margin="10">
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.SaveCauLacBoCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/save_as.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Lưu danh sách" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" 
                                                                   Command="{Binding DataContext.AddNewCauLacBoCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/add.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Thêm mới" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                                <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center">
                                                    <telerik:RadButton Width="38" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                                   Command="{Binding DataContext.DeleteCauLacBoCommand,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                        <telerik:RadButton.Content>
                                                            <Image Source="/Infrastructure;component/Images/MiniIcon/delete.png" Height="14" Width="14"/>
                                                        </telerik:RadButton.Content>
                                                    </telerik:RadButton>
                                                    <TextBlock Text="Xóa" Foreground="#FF060606" FontSize="12" Margin="40 3 14 3" />
                                                </StackPanel>
                                            </StackPanel>
                                            <StackPanel Margin="10">
                                                <telerik:RadGridView Name="radGridView9" AutoGenerateColumns="False" ShowColumnHeaders="True" ShowGroupPanel="False" ShowInsertRow="false" Height="365"
                                                     ItemsSource="{Binding DanhSachCauLacBo, Mode=TwoWay}" SelectedItem="{Binding DataContext.CurrentCauLacBoThamGia,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}">
                                                    <telerik:RadGridView.Columns>
                                                        <telerik:GridViewDataColumn Header="Tên" DataMemberBinding="{Binding TenGoi}" />
                                                        <telerik:GridViewDataColumn Header="Mô tả" DataMemberBinding="{Binding MoTa}" />
                                                    </telerik:RadGridView.Columns>
                                                </telerik:RadGridView>
                                            </StackPanel>
                                        </StackPanel>
                                    </telerik:RadTabItem.Content>
                                </telerik:RadTabItem>

                            </telerik:RadTabControl>
                        </telerik:RadTabItem>

                    </telerik:RadTabControl>
                </StackPanel>

            </Grid>
        </Grid>
    </Grid>
</UserControl>
